package com.ai.wx.pojo;

import com.ai.core.util.Arith;

public class ProductPrice {
	private int tariff= 0; 
	private int discount = 0; 
	private int total= 0; 
	private int brokerage =0;
	private int promRate;
	public int getBrokerage() {
		return brokerage;
	}
	public double getFBrokerage() {
		return Arith.div100(brokerage); 
	}
	public void setBrokerage(int brokerage) {
		this.brokerage = brokerage;
	}
	public int getPromRate() {
		return promRate;
	}
	public void setPromRate(int promRate) {
		this.promRate = promRate;
	}
	private Integer agentId; 
	public Integer getAgentId() {
		return agentId;
	}
	public void setAgentId(Integer agentId) {
		this.agentId = agentId;
	}
	public int getTariff() {
		return tariff;
	}
	public double getFTariff() {
		return Arith.div100(tariff);
	}
	public void setTariff(int tariff) {
		this.tariff = tariff;
	}
	public int getDiscount() {
		return discount;
	}
	public double getFDiscount() {
		return Arith.div100(discount); 
	}
	public void setDiscount(int discount) {
		this.discount = discount;
	}
	public int getTotal() {
		return total;
	}

	public double getFTotal() {
		return Arith.div100(total); 
	}
	public void setTotal(int total) {
		this.total = total;
	} 
}
